package com.itheima.test10;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * @Author:gy
 * @Date: 2025/09/04 17:51
 * @Description:
 */
public class Demo1 {
    @Test
    public void show(){
        int a = 10;
        int b = 20;
       // int c = 20/0;
        System.out.println(a+b);
    }
    @After
    public void show2(){
        int a = 10;
        int b = 20;
        // int c = 20/0;
        System.out.println("运行后");
    }
    @Before
    public void show1(){
        int a = 10;
        int b = 20;
        // int c = 20/0;
        System.out.println("运行前");
    }
}
